package com.euphoric.version.ant.util;

import com.euphoric.version.Version;

public class VersionFactory extends Version {
	private static final long serialVersionUID = 8454658698672093986L;
	public long serial = 0L;
	
	public VersionFactory(int maj, int min, int rev, int bld, long serial, String name) {
		this.applicationName = name;
		this.majorVersion = maj;
		this.minorVersion = min;
		this.revision = rev;
		this.buildNumber = bld;
		this.serial = serial;
	}
	
	public VersionFactory(String name) {
		this.applicationName = name;
		this.majorVersion = 1;
		this.minorVersion = 0;
		this.revision = 0;
		this.buildNumber = 1;
		this.serial = 0L;
	}
}